import { lazy } from "react"

const NotFound = lazy(() => import('./NotFound'))
const BadServe = lazy(() => import('./BadServe'))


export const ErrorRoutes: any = [
    {
        path: "/404",
        element: <NotFound />
    },
    {
        path: "/503",
        element: <BadServe />
    }
]